package com.anolesoft.yr.mbus.fin.service;

import com.anolesoft.yr.mbus.fin.dto.FinBillingApplyInvoiceDTO;
import com.anolesoft.yr.util.PageData;

import java.util.List;
import java.util.Optional;

/**
 * @author zhj
 * @date 2020/8/15 13:56
 */
public interface FinBillingApplyInvoiceService {
    int create(FinBillingApplyInvoiceDTO finBillingApplyInvoiceDTO);

    int modify(FinBillingApplyInvoiceDTO finBillingApplyInvoiceDTO);

    int remove(String id);

    int removeBatch(List<String> ids);

    List<FinBillingApplyInvoiceDTO> selectAll();

    PageData<List<FinBillingApplyInvoiceDTO>> selectAll(Integer limit, Integer curr);

    Optional<FinBillingApplyInvoiceDTO> selectOneById(String id);

    List<FinBillingApplyInvoiceDTO> selectList(FinBillingApplyInvoiceDTO finBillingApplyInvoiceDTO);

    PageData<List<FinBillingApplyInvoiceDTO>> selectList(FinBillingApplyInvoiceDTO finBillingApplyInvoiceDTO, Integer limit, Integer curr);
}
